import { createWebHistory, createRouter } from 'vue-router'

import IndexView from '../components/Index.vue'
import StoreView from "../components/Store.vue"

const routes = [
  { path: '/', component: IndexView },
  { path: '/store', component: StoreView }
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router